﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    [DataContract]
    [MB.Orm.Mapping.Att.ModelMap("p_indent_det", "p_indent_det", new string[] { "ORDERNO" })]
    [KnownType(typeof(UnDealedOrderInfo))]
    public class UnDealedOrderInfo
    {
        public UnDealedOrderInfo() { }

        private String _ORDERNO;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("ORDERNO", System.Data.DbType.String)]
        public String ORDERNO { get { return _ORDERNO; } set { _ORDERNO = value; } }

        private String _BATCH_NO;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("BATCH_NO", System.Data.DbType.String)]
        public String BATCH_NO { get { return _BATCH_NO; } set { _BATCH_NO = value; } }

        private String _BATCH_SUBNO;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("BATCH_SUBNO", System.Data.DbType.String)]
        public String BATCH_SUBNO { get { return _BATCH_SUBNO; } set { _BATCH_SUBNO = value; } }

        private Decimal _QTY;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("QTY", System.Data.DbType.Decimal)]
        public Decimal QTY { get { return _QTY; } set { _QTY = value; } }

        private Decimal _PQTY;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("PQTY", System.Data.DbType.Decimal)]
        public Decimal PQTY { get { return _PQTY; } set { _PQTY = value; } }

        private String _FLAG;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("FLAG", System.Data.DbType.String)]
        public String FLAG { get { return _FLAG; } set { _FLAG = value; } }

        private String _ITEMCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("ITEMCODE", System.Data.DbType.String)]
        public String ITEMCODE { get { return _ITEMCODE; } set { _ITEMCODE = value; } }
    }
}
